package com.dkd.sbtz.domain.vo;

import com.dkd.common.annotation.Excel;
import lombok.Data;

// com.dkd.sbtz.export.AssetNodeExportVO
@Data
public class AssetNodeExportVO {
    @Excel(name = "ID")
    private Long id;

    @Excel(name = "名称")
    private String name;

    @Excel(name = "类型")
    private String nodeType;

    @Excel(name="类型(中文)")
    private String nodeTypeLabel;

    @Excel(name="父级名称")
    private String parentName;

    @Excel(name = "设备编码")
    private String code;

    @Excel(name = "父ID")
    private Long parentId;

    @Excel(name = "层级")
    private Integer level;

    /** 根→当前节点的名称链，如 “园区 / 机房A / 机柜01 / 服务器B” */
    @Excel(name = "完整路径")
    private String fullPath;

    // 如果还要备件信息也要导出可以继续加 @Excel 字段
    @Excel(name = "备件编码")
    private String spCode;
    @Excel(name = "备件名称")
    private String spName;
    @Excel(name = "备件可用库存")
    private Integer spStockAvail;
}

